package com.example.demo3.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo3.entity.HwFacilityToiletDetail;
import com.example.demo3.service.HwFacilityToiletDetailService;
import com.example.demo3.mapper.HwFacilityToiletDetailMapper;
import com.example.demo3.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Cp
 * @description 针对表【hw_facility_toilet_detail(公厕实时数据)】的数据库操作Service实现
 * @createDate 2024-10-12 18:52:43
 */
@Service
public class HwFacilityToiletDetailServiceImpl extends ServiceImpl<HwFacilityToiletDetailMapper, HwFacilityToiletDetail>
        implements HwFacilityToiletDetailService {
    @Autowired
    HwFacilityToiletDetailMapper hwFacilityToiletDetailMapper;

    @Override
    public Result hftdcList(String code) {
        List<HwFacilityToiletDetail> list = hwFacilityToiletDetailMapper.hftdcList(code);
        return new Result(200, "查询成功", list);
    }
}




